/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package post;


public class TransactionItem {
    int quantity;
    String upc;

    public TransactionItem(String newUpc, int count){
        this.quantity=count;
        this.upc=newUpc;
    }
    
    public int getQuantity(){
        return this.quantity;
    }
    
    public String getUPC(){
        return this.upc;
    }

    public void setQuantity(int newQuantity){
        this.quantity=newQuantity;
    }
    
    public void setUPC(String newUPC){
        this.upc=newUPC;
    }
    


}
